package com.ifacebox.face.track.model;

/**
 * @author znn
 */
public class FacePage {
    private int size;

    public FacePage(int size) {
        this.setSize(size);
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof FacePage) {
            return this.size == ((FacePage) obj).getSize();
        }
        return false;
    }

    @Override
    public String toString() {
        return this.getSize() + "条/页";
    }
}
